/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.polymorphism.conf;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.polymorphism.polymorphism.polymorphism;
import za.ac.cput.polymorphism.polymorphism.impl.Dean;
/**
 *
 * @author Dwayne
 */
@Configurable
public class AppConfig 
{
    @Bean(name = "bDean")
    public polymorphism polymorphism()
    {
        return new Dean();
    }
    
    /*@Bean(name = "bUniversity")
    public polymorphism Uni()
    {
        return new University();
    }
    
    @Bean(name = "bStud")
    public polymorphism Stud()
    {
        return new Student();
    }*/
}
